# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-gong
pkgver=0_git20220319
pkgrel=0
_commit="c4255f80f8d89f31d9e8471f388eb7bbcb85046e"
pkgdesc="libretro core for gong"
url="https://github.com/libretro/gong"
arch="all"
license="Public-Domain"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/gong/archive/$_commit.tar.gz"
builddir="$srcdir/gong-$_commit"
options="!check" # No tests

build() {
	make
}

package() {
	install -Dm644 gong.so "$pkgdir"/usr/lib/libretro/gong_libretro.so
}

sha512sums="
0370f893f8ee0f81b25cb1c86435fb92fcfd15fb8e5f66a81a654d4028e00bfcb6d127df556e00f1cf3a4d5457c01fc417edec96fcb43824d58c65c4ee24f55d  libretro-gong-c4255f80f8d89f31d9e8471f388eb7bbcb85046e.tar.gz
"
